import React, { Component } from 'react'
import Footer from '../../assets/images/txyyb.webp'
import Mogu from '../../assets/images/9.19mogu.png'
import styles from './DownloadApp.module.scss'
export default class DownloadApp extends Component {

    goToDownload = (params) => {
        this.props.history.push('/download1')
    }

    render() {
        return (
            <div className={styles.mgDownload}>
                <div className={styles.mgDownloadMain}>
                    <div className={styles.DownloadMainOne}>
                        <div className={styles.MainOneTop}>
                            <img src={Mogu} alt="" />
                            <div className={styles.MainOneTopLabel}>
                                官方
                            </div>
                        </div>
                        <div className={styles.MainOneCid}>
                            <h3>蘑菇街</h3>
                        </div>
                        <div className={styles.MainOneBom}>
                            <p>
                                4.3分&nbsp;&nbsp;
                                1.2亿次下载&nbsp;&nbsp;
                                62.59MB
                            </p>
                        </div>
                    </div>
                    <div className={styles.DownloadMainTwo}>
                        <div className={styles.DownloadMainTwoLeft}>
                            <i className='iconfont icon-duigoudunpai'></i>
                            <span>无病毒</span>
                        </div>
                        <div className={styles.DownloadMainTwoRight}>
                            <i className='iconfont icon-ad'></i>
                            <span>免广告骚扰</span>
                        </div>
                    </div>
                    <div onClick={this.goToDownload} className={styles.DownloadMainThere}>
                        <span>去App Store下载</span>
                    </div>
                </div>
                <div className={styles.mgDownloadFooter}>
                    <img src={Footer} alt=""/>
                </div>
            </div>
        )
    }
}
